

SET( BOOST_LIBS thread date_time system )
FIND_PACKAGE( Boost COMPONENTS ${BOOST_LIBS} REQUIRED)


SET( READER_SRCS 
	AsyncSerial.cpp
# 	Reader.cpp
)

# SET( SAMPLE_SRCS 
# 	Sample.cpp
# )
# 
# ADD_EXECUTABLE( tstreader ${SAMPLE_SRCS})
# TARGET_LINK_LIBRARIES( tstreader ${BOOST_LIBRARIES} )
# INSTALL_TARGETS( /bin tstreader )

# find_package(Threads REQUIRED)
# target_link_libraries(simple_screen ${CMAKE_THREAD_LIBS_INIT})
ADD_LIBRARY( reader SHARED ${READER_SRCS} )
TARGET_LINK_LIBRARIES( reader ${Boost_LIBRARIES} )
INSTALL_TARGETS( /lib reader )

SET_TARGET_PROPERTIES( reader PROPERTIES
        VERSION 0
        SOVERSION 0
)
